package com.liuyu.common.framework.common.model;

import com.liuyu.common.framework.common.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank; 
import java.util.List;

/**
 * 代码查询命令
 *
 * @author: liuyu
 * @date: 2022/6/23 15:51
 * @version: 1
 */
@Data
@Schema(description = "翻译条件")
public class CodeQueryCmd extends PageParam {
    @Schema(description = "代码类型", name = "PermitCompanyTree")
    @NotBlank(message = "代码类型(codeType)不能为空")
    private String codeType;
    @Schema(description = "扩展字段0")
    private String extra0;
    @Schema(description = "扩展字段1")
    private String extra1;
    @Schema(description = "扩展字段2")
    private String extra2;
    @Schema(description = "扩展字段3")
    private String extra3;
    @Schema(description = "扩展字段4")
    private String extra4;
    @Schema(description = "语种(C:中文/E:英文)")
    private String language;
    @Schema(description = "匹配字符串")
    @NotBlank(message = "匹配字符(key)不能为空")
    private String key;
    @Schema(description = "排序")
    private String order;
    @Schema(description = "appKey", hidden = true)
    private String appKey;
    @Schema(description = "扩展字段列表")
    private List<String> extraList;
}
